package fullSample
import org.lobobrowser.gui._
import org.lobobrowser.main._
import java.io._
import java.util.regex._
object Test 
{
	def main(args: Array[String]): Unit = 
	{
	  // This optional step initializes logging so only warnings
	// are printed out.
	PlatformInit.getInstance().initLogging(false);

	// This step is necessary for extensions to work:
	PlatformInit.getInstance().init(false, false);
	
	//var frame = new GUI()
	//var fw:FileWriter = new FileWriter("Bookmarks",true)
	var s = "("+"Google"+")"+"  "+"("+"http://www.google.co.il"+")"
	
	var reg = "\\(("+".+"+")\\)"+"\\s\\s"+"\\(("+".+"+")\\)"
	var p  = Pattern.compile(reg)
	var m = p.matcher(s)
	var b = m.matches()
	var g1 = m.group(1)
	var g2 = m.group(2)
	println("test")
	// fw.write(s)
	// fw.close()
	
	
	}
}